Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Recent/Pinned category #623

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

jeremypw
Copy link
Collaborator

@jeremypw jeremypw commented Jan 8, 2025

Fixes #535

One of two new categories may be created, depending on the build options

If the Zeitgeist option is compiled in:

  • Recently used apps. Shows apps used in the last [4] weeks in descending order of usage as determined by Zeitgeist. This uses the pre-existing (but hitherto unused) code related to app popularity but simplifies the calculation of the popularity measure.

If there is no Zeitgeist:

  • Pinned apps - this is still useful for those of us who dislike using the dock or have a window fullscreened/maximised so the dock does not appear on screen.

It would be possible to have a further build or system option to control showing of the Pinned category but that is left for now.

Unless another category has been previously selected, the Recent/Pinned category is selected by default.

TODO

  • Make sure app popularities have finished initialising when first shown after restart.
  • Update the Recently used category after an app has been used. At the moment the indicator has to be restarted.

@danirabbit
Copy link
Member

I don't think this addresses #535. That report is about frequently used apps, not pinned apps

@jeremypw
Copy link
Collaborator Author

jeremypw commented Jan 9, 2025

@danirabbit Well, there is overlap between the two sets (pinned apps are likely include some of those recently used). The PR is not yet finished.

@jeremypw jeremypw changed the title Add Favorite category Add Recent/Pinned category Jan 10, 2025
@jeremypw jeremypw marked this pull request as ready for review January 10, 2025 19:38
@jeremypw jeremypw requested a review from a team January 10, 2025 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show frequently used apps in some way
2 participants